package com.baba.bracelet.dto.output;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wulongbo
 * @version 1.0
 * @date 2020/6/13 14:25
 * @description
 */
@Data
public class EquipOutDTO implements Serializable {


    /**
     * 设备IMEI号,固定15位
     */
    @ApiModelProperty(value = "主键id", name = "imei")
    @TableId(type = IdType.ID_WORKER_STR)
    private String imei;


    /**
     * 设备IMSI共有15位，其结构如下：MCC+MNC+MSIN
     */
    @ApiModelProperty(value = "imsi",name = "imsi")
    private String imsi;


    /**
     * 厂商标识
     */
    @ApiModelProperty(value = "厂商标识",name = "factory")
    private String factory;


    /**
     * 设备型号
     */
    @ApiModelProperty(value = "设备型号",name = "type")
    private String type;


    /**
     * 运营商
     */
    @ApiModelProperty(value = "运营商",name = "operator")
    private String operator;


    /**
     * 设备注册时间
     */
    @ApiModelProperty(value = "设备注册时间",name = "type")
    private Date createTime;

    /**
     * 设备状态：00为无任何报警(01：SOS,02：低电,03：脱落报警,04:佩戴提醒，05：剪断报警,06:跌倒报警,07:心率异常, 08:心率过高, 09:心率过低,10收缩压过高,11收缩压过低,12舒张压过高,13舒张压过低)
     */
    @ApiModelProperty(value = "设备状态：00为无任何报警(01：SOS,02：低电,03：脱落报警,04:佩戴提醒，05：剪断报警,06:跌倒报警,07:心率异常, 08:心率过高, 09:心率过低,10收缩压过高,11收缩压过低,12舒张压过高,13舒张压过低)",name = "state")
    private Integer state;

    /**
     * 电池电量
     */
    @ApiModelProperty(value = "电池电量",name = "battery")
    private Integer battery;
}
